package com.tencent.examples.blueking.mongo.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 定义模型属性
 */
@Document(collection = "cc_ObjAttDes")
@Data
public class ObjAttDes {

    @Id
    public String id;
    public String bk_supplier_account;
    public String placeholder;
    public String creator;
    public String bk_property_name;
    public String bk_property_group;
    public Integer bk_property_index;
    public Boolean isrequired;
    public Boolean isonly;
    public String bk_obj_id;
    public String bk_property_id;
    public String last_time;
    public String bk_property_type;
    public String description;
    public Date creaet_time;

    public String unit;
    public Boolean ispre;
    public Object option;
    public Boolean bk_isapi;
    public Boolean editable;
    public Boolean isreadonly;
    public Boolean bk_issystem;
    public String bk_asst_forward;
    public String bk_asst_obj_id;

}
